package com.wish.cfront.counter.mapper;

import com.wish.cfront.counter.bean.res.OrderInfo;
import com.wish.cfront.counter.bean.res.PosiInfo;
import com.wish.cfront.counter.bean.res.TradeInfo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface OrderMapper {

    public Long queryBalance(Long uid);

    public void  updateBalance(Map<String,Object> map);

    public List<PosiInfo> queryPosi(Map map);

    public void saveTrade(Map map);

    public List<OrderInfo> queryOrder(Map map);

    public List<OrderInfo> hisQueryOrder(Map map);
    public List<TradeInfo> queryTrade(Map map);

    public int saveOrder(Map map);

    public void updatePosi(Map map);

    public void insertPosi(Map map);

    public void updateOrder(Map map);
}
